package com.dongdongshop.service.user;

import com.dongdongshop.pojo.user.TbAddress;
import com.dongdongshop.pojo.user.TbAreas;
import com.dongdongshop.pojo.user.TbCities;
import com.dongdongshop.pojo.user.TbProvinces;

import java.util.List;

public interface AddressService {
    List<TbAddress> getAddressByUserId(Long id);

    List<TbProvinces> findProvincesAll();

    List<TbCities> getCitiesByProvinceid(String provinceid);

    List<TbAreas> getAreasByCityid(String cityid);

    void addAddress(TbAddress address);

    TbAddress getAddressById(Long id);
}
